using System.Collections;
using System.Collections.Generic;
using System.Text;
using UnityEngine;

public class Console 
{
   static public void Log(object msg)
    {
        Debug.Log(msg);
    }

    static public void Log(object msg,Color color)
    {
        string _colorStr = ColorUtility.ToHtmlStringRGB(color);
        StringBuilder _sb = new StringBuilder();
        _sb.Append("<color=#");
        _sb.Append(_colorStr);
        _sb.Append(">");
        _sb.Append(msg);
        _sb.Append("</color>");
        Log(_sb.ToString());
    }
}
